package com.ebupt.migu.music.autoTri.Service;

import com.ebupt.migu.music.common.entity.ResultObject;

import java.util.Map;

/**
 * @description: 会员红包模板管理
 * @author: liuyangyang@ebupt.com
 * @date: 2021/6/21 15:36
 */
public interface VipPacketService {

    /**
     * 创建红包模板
     *
     * @param map
     * @return
     */
    public ResultObject add(Map<String, Object> map);

    /**
     * 查询会员红包
     *
     * @param map
     * @return
     */
    public ResultObject query(Map<String, Object> map);

    /**
     * 删除会员红包
     *
     * @param map
     * @return
     */
    public ResultObject delete(Map<String, Object> map);

    /**
     * 通过红包ID查询红包信息
     * @param map
     * @return
     */
    public ResultObject queryById(Map<String, Object> map);
}
